>> for model 1 in table 3
use C:\Users\jti0012\Dropbox\Renounce violence SPSA\renounce violence data2 with electoral violence threat2 with polyarchy.dta
xtset v2paid year
xtreg v2paviol v2x_polyarchy partyorganization polparrebel_provision v2pagroup_5  nonstate_events_100kpop marxist_leninis logbdeath logduratn, re vce(cluster COWcode)

>> for model 2 in table  3
use C:\Users\jti0012\Dropbox\Renounce violence SPSA\renounce violence data2 only non government groups.dta
xtreg v2paviol v2x_polyarchy partyorganization polparrebel_provision v2pagroup_5  nonstate_events_100kpop marxist_leninis logbdeath logduratn, re vce(cluster COWcode)
>> to generate VIF statistics
reg v2paviol v2x_polyarchy partyorganization polparrebel_provision v2pagroup_5 nonstate_events_100kpop marxist_leninis logbdeath logduratn
estat vif